/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ejb.metier;

import com.ejb.persistence.Address;
import com.ejb.persistence.User;
import javax.ejb.Local;

/**
 *
 * @author Adel Boukelt
 * Class used to manage User
 * 
 */
@Local
public interface IUserManager {

    public User validateConn(java.lang.String login, java.lang.String password);

    public boolean createAccount(User user, Address address);

    public com.ejb.persistence.User getClientInfo(long idClient);
    
    public boolean updateAccount(User user, Address address);
    
    
}
